                <div class="reg">
                    <?php if(!count($this->cart->products)):?>
                    <h2>Ваша корзина пуста</h2>
                    <?php else:?>
                    <h2>Ваша корзина</h2>
                    <div class="box-kor">
                        <div class="title">
                            <strong>Товар</strong>
                            <span>Стоимость</span>
                        </div>
                        <div class="box-k">
                            <div class="tovar">
                            <?php foreach($this->cart->products as $product):?>
                                <div class="box">
                                    <div class="image-box">
                                        <div class="image"><img src="/images/img01.jpg" alt="" /></div>
                                        <strong class="size"><?=$product->size?></strong>
                                    </div>
                                    <div class="text">
                                    <!--
                                        <div class="top">
                                            <strong class="new">НОВИНКА</strong>
                                        </div>
                                    -->
                                        <div class="link">
                                            <a href="#">Верхняя одежада, <?=$product->brand?>, размер <?=$product->size?></a>
                                        </div>
                                    </div>
                                    <div class="price-h">
                                        <span class="price"><?=$product->price?><em>руб.</em></span>
                                        <br />
                                        <a href="/cart/delete/id/<?=$product->id?>">Удалить</a>
                                        
                                    </div>
                                </div>
                            <?php endforeach;?>
                            </div>
                        </div>
                        <div class="s-opl">
                            <strong>Сумма к оплате:</strong>
                            <span><?=$this->cart->total?> рублей</span>
                        </div>
                        <form action="#" class="of-z">
                            <fieldset>
                                <input type="button" class="btn-of-z" value="Оформить заказ" />
                            </fieldset>
                        </form>
                    </div>
                   <?php endif;?>
                </div>